/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024-11-26
 * Time: 21:39
 */
//两整数之和
class Solution {
    public int getSum(int a, int b) {
        while(b != 0){
            int ret = a ^ b;//结果
            int x = (a & b)<<1;
            a = ret;
            b = x;
        }
        return a;
    }
}

// return a + b;

public class Test8 {
}
